package com.woniuxy.until;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * FileName: ResponseEnum
 * Author: wujiajun
 * Date:   2024/12/25 15:42
 * Description:DOTO
 *
 */
@Getter
@AllArgsConstructor
public enum ResponseEnum {
    SUCCESS(200,"成功"),
    FAIL(500,"失败"),
    LOGIN_ERROR(2000,"登录失败"),
    SYS_BUSY(2001,"系统繁忙，请稍后再试"),
    NO_STOCK(2002,"库存不足,秒杀结束"),
    NO_AUTH(2003,"没有权限");
    private Integer code;
    private String msg;
}
